import request from "../utils/request";
export interface listType {
    pageNo: number;
    pageSize: number;
}

/* 首页banner 图 */
export const bannerImg = () => request.get("/home/banner");

/* 获取类别按钮 */
export const category = () => request.get("/home/category");

/* 获取首页列表 */
export const list = (data: listType) => request.post("/home/list", data);
